package com.tm.d19_abstract;
/**
 * 2024/5/20 Cjj 狗继承动物类
 */
public class Dog extends Animal{
    @Override
    public void cry() {
        System.out.println(getName()+"汪汪汪的叫~~");
    }
}
